package com.team1.manager.group.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import com.team1.manager.classes.entity.Classes;
import com.team1.manager.school.entity.School;
import com.team1.manager.student.entity.Student;
/**
 * 小组
 * @author yzy
 *
 */
public class Group implements Serializable {
	private String id;
	private String name;//小组名称
	private School school;//小组属于的校区
	private Classes classes;//小组属于的班级
	private Set<Student> students = new HashSet<Student>();//小组拥有的学生
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public School getSchool() {
		return school;
	}
	public void setSchool(School school) {
		this.school = school;
	}
	public Classes getClasses() {
		return classes;
	}
	public void setClasses(Classes classes) {
		this.classes = classes;
	}
	public Set<Student> getStudents() {
		return students;
	}
	public void setStudents(Set<Student> students) {
		this.students = students;
	}
	
}
